import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '@/assets/iconfont/iconfont.css'

import VueRouter from "vue-router";
import router from './router';

import store from "@/store";

Vue.config.productionTip = false
Vue.use(VueRouter)
Vue.use(ElementUI)
new Vue({
  render: h => h(App),
  router,
  store,
  beforeCreate() {
    //安装全局事件总线
    Vue.prototype.$bus = this;
  }
}).$mount('#app')
